﻿using System;
using System.Collections.Generic;
using System.Security.Cryptography;

namespace Odyssey.BouncyCastle.SMUtil
{
    public interface ISMDispatch : IDisposable
    {
        string Encrypt(string data);

        string Decrypt(string data);

        string Sign(string data);

        byte[] SignBytes(string data);

        //string PubKeyCompress(string longPK);

        //string PubKeyUnCompress(string compressedPK);

        bool VerifySign(string data, string sign);
    }
}
